package com.hliushi.bookmanager.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import static com.baomidou.mybatisplus.annotation.IdType.AUTO;

@TableName(value = "book_info")
public class Book {

    @TableId(type = AUTO)
    private long bookId;
    private String name;
    private String author;
    private String label;
    private String simplecontext;
    private String context;
    private String adversiting;


    public Book() {
        super();
    }

    public Book(long bookId,
                String name,
                String author,
                String simplecontext,
                String label,
                String context,
                String adversiting) {
        super();
        this.bookId = bookId;
        this.name = name;
        this.author = author;
        this.simplecontext = simplecontext;
        this.label = label;
        this.context = context;
        this.adversiting = adversiting;
    }

    public long getBookId() {
        return bookId;
    }

    public void setBookId(long bookId) {
        this.bookId = bookId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getSimplecontext() {
        return simplecontext;
    }

    public void setSimplecontext(String simplecontext) {
        this.simplecontext = simplecontext;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getAdversiting() {
        return adversiting;
    }

    public void setAdversiting(String adversiting) {
        this.adversiting = adversiting;
    }


}
